/*
 *   Copyright (c) 2010-2022, SIUFUNG
 */
package net.siufung.market.base.user.controller.model.vo;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.siufung.core.model.AbstractVo;

import java.time.LocalDateTime;

/**
 * @author 陈建峰
 * @date 2023-02-06 23:25:52
 * @since v1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="UserDetailVo", description="系统用户详细")
public class UserDetailVo extends AbstractVo {

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private Integer userId;

    /**
     * 用户电话
     */
    @ApiModelProperty(value = "用户电话")
    private String userPhone;

    /**
     * 身份证号码
     */
    @ApiModelProperty(value = "身份证号码")
    private String userIdCard;

    /**
     * 用户email
     */
    @ApiModelProperty(value = "用户email")
    private String email;

    /**
     * 用户性别
     */
    @ApiModelProperty(value = "用户性别")
    private String sex;

    /**
     * 用户头像
     */
    @ApiModelProperty(value = "用户头像")
    private String avatar;

    /**
     * 用户生日
     */
    @ApiModelProperty(value = "用户生日")
    private String birthday;

    /**
     * 用户描述
     */
    @ApiModelProperty(value = "用户描述")
    private String description;

    /**
     * 租户ID
     */
    @ApiModelProperty(value = "租户ID")
    private Integer tenantId;

    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
    private LocalDateTime updatedAt;

}